package com.iot.core.data.entity;

import com.iot.core.data.BaseEntity;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;

import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper=false)
@Schema(name = "表ID表",description = "")
@Table(value ="httbid")
public class HtTbid extends BaseEntity {


    @Schema(name = "表名",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  tname ="";

    @Schema(name = "包含日期",description = "")
    private  boolean includeDt ;

    @Schema(name = "当前日期",description = "")
    @Size(min =0,max = 10,message = "长度范围0-10")
    private  String  currentDt ="";

    @Schema(name = "每天从新开始",description = "")
    private  boolean dayRestart ;

    @Schema(name = "ID长度",description = "")
    private  Integer  idLength =0;

    @Schema(name = "当前值",description = "")
    private  Long  idv =0L;


}
